<?php
defined('BASE') or exit('Access Denied!');

/**
* How to use @see obullo.com
*/
Class __autoloader {
    
    function __construct()
    {
        loader::base_lib('content');
        // echo 'foo controller succesfully works !';
        // autoload libraries, helpers, lang, config files etc..        
        // loader::app_lib('');
        // loader::base_lib('');
        // loader::app_script('');
        // loader::app_helper('');
        // loader::base_helper('');
    }   
}
Class Foo_controller extends __autoloader
{
      public $base     = 'http://localhost/obullo/';
      public $base_img = 'http://localhost/obullo/sources/';
      
      public $generator_name = 'Obullo';
      
      // Build html your base html contents
      public $title_tag = '';
      public $head_tag  = '';
      public $body_tag  = '';
      public $h1  = '';
      public $h2  = '';
      public $h3  = '';
                                              
      public function __foo()
      {
          parent::__construct();
                                              
          $this->base     = config_item('base_url');
          $this->base_img = config_item('source_url').'/images/';
      }
      
} // end class.
  
  
?>
